home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
CMDENABL.PAK
/
CMDENABL.RC
< prev
next >
Wrap
Text File
|
1997-05-06
|
10KB
|
236 lines
// ---------------------------------------------------------------------------
// ObjectWindows
// Copyright (C) 1994, 1995 by Borland International, All Rights Reserved
//
// Command-enabling sample application
//----------------------------------------------------------------------------
#ifndef WORKSHOP_INVOKED
# include <windows.h>
#endif
#include <owl\except.rc>
#include "cmdenabl.h"
#ifdef RC_INVOKED
MN_COMMANDS MENU
{
POPUP "&File"
{
MENUITEM "&New", CM_FILENEW
MENUITEM "&Open", CM_FILEOPEN
MENUITEM "&Save", CM_FILESAVE
MENUITEM "Save &As", CM_FILESAVEAS
}
POPUP "&Actions"
{
MENUITEM "&Dirty?", CM_TOGGLEDIRTY
MENUITEM "&New?", CM_TOGGLENEW
MENUITEM "&Show file state", CM_SHOWSTATE
}
}
CM_FILENEW BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 88 88 88 88'
'40 00 88 88 88 88 88 88 88 88 88 88 90 00 88 88'
'88 88 88 88 88 88 88 88 20 00 88 88 88 88 88 88'
'88 88 88 88 40 18 88 88 88 88 88 88 88 88 88 88'
'00 00 88 88 88 88 88 88 88 88 88 88 00 00 88 88'
'88 88 88 88 88 88 88 88 00 00 88 88 88 88 88 88'
'88 88 88 88 0B 00 88 80 08 88 88 88 88 88 88 88'
'00 00 88 80 08 88 88 88 88 88 88 88 00 00 88 80'
'08 88 88 84 44 44 44 48 00 00 88 80 08 80 88 84'
'EF EF EF 48 0B 00 88 80 07 80 08 84 FE FE FE 48'
'00 00 88 87 00 00 00 84 EF EF EF 48 00 00 88 88'
'70 00 00 84 FE FE FE 48 00 00 88 88 88 80 08 84'
'EF EF EF 48 0B 00 88 88 88 80 88 84 FE FE 44 48'
'FF FF 88 88 88 88 88 84 EF EF 44 88 FF FF 88 88'
'88 88 88 84 44 44 48 88 00 00 88 88 88 88 88 88'
'88 88 88 88 0B 00'
}
CM_FILEOPEN BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 88 88 88 88'
'46 00 80 00 00 00 00 00 88 88 88 88 00 00 80 87'
'77 77 77 70 88 88 88 88 11 02 80 F8 88 88 88 70'
'88 88 88 88 08 00 80 F9 98 88 88 70 88 88 88 88'
'46 00 80 FF FF FF FF 80 88 88 88 88 00 00 80 00'
'00 00 00 00 88 88 88 88 11 00 88 88 88 88 88 88'
'88 88 88 88 08 30 88 80 08 88 88 88 88 88 88 88'
'46 00 88 80 08 88 88 88 88 88 88 88 00 00 88 80'
'08 88 88 84 44 44 44 48 11 00 88 80 08 80 88 84'
'EF EF EF 48 08 00 88 80 07 80 08 84 F4 44 4E 48'
'00 00 88 87 00 00 00 84 EF EF EF 48 55 55 88 88'
'70 00 00 84 F4 44 4E 48 00 00 88 88 88 80 08 84'
'EF EF EF 48 88 88 88 88 88 80 88 84 F4 4E 44 48'
'00 00 88 88 88 88 88 84 EF EF 44 88 00 00 88 88'
'88 88 88 84 44 44 48 88 00 00 88 88 88 88 88 88'
'88 88 88 88 00 00'
}
CM_FILESAVE BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 88 88 88 88'
'46 00 88 88 88 88 00 00 00 00 00 08 00 00 88 88'
'88 88 08 77 77 77 77 08 11 00 88 88 88 88 0F 88'
'88 88 87 08 08 30 88 88 88 88 0F 99 88 88 87 08'
'46 00 88 88 88 88 0F FF FF FF F8 08 00 00 88 88'
'88 88 00 00 00 00 00 08 11 00 88 88 88 88 88 88'
'88 88 88 88 08 00 88 88 88 88 88 88 88 00 88 88'
'00 00 88 88 88 88 88 88 80 00 08 88 55 55 84 44'
'44 44 48 88 00 00 00 88 00 00 84 EF EF EF 48 88'
'88 00 88 88 88 88 84 F4 44 4E 48 88 88 00 88 88'
'00 00 84 EF EF EF 48 88 87 00 88 88 00 00 84 F4'
'44 4E 48 00 00 07 88 88 00 00 84 EF EF EF 48 00'
'00 78 88 88 00 00 84 F4 4E 44 48 88 88 88 88 88'
'00 00 84 EF EF 44 88 88 88 88 88 88 00 00 84 44'
'44 48 88 88 88 88 88 88 00 00 88 88 88 88 88 88'
'88 88 88 88 11 11'
}
CM_FILESAVEAS BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 88 88 88 88'
'46 00 88 88 88 88 88 84 44 44 44 48 00 00 88 88'
'88 88 88 84 FF FF FF 48 11 00 88 88 88 88 88 84'
'F4 44 4F 48 08 00 88 88 88 88 88 84 FF FF FF 48'
'00 00 88 88 88 88 88 84 F4 44 4F 48 55 55 88 88'
'88 88 88 84 FF FF FF 48 00 00 88 88 88 88 88 84'
'F4 4F 44 48 88 88 88 88 88 88 88 84 FF FF 44 88'
'00 00 88 88 88 88 88 84 44 44 48 88 00 00 84 44'
'44 44 48 88 88 88 88 88 00 00 84 EF EF EF 48 88'
'88 00 88 88 00 00 84 F4 44 4E 48 88 80 00 08 88'
'00 00 84 EF EF EF 48 88 00 00 00 88 00 00 84 F4'
'44 4E 48 88 88 00 88 88 00 00 84 EF EF EF 48 88'
'87 00 88 88 11 11 84 F4 4E 44 48 00 00 07 88 88'
'00 00 84 EF EF 44 88 00 00 78 88 88 00 00 84 44'
'44 48 88 88 88 88 88 88 00 00 88 88 88 88 88 88'
'88 88 88 88 0B 00'
}
CM_TOGGLEDIRTY BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'00 00 70 77 07 77 70 07 70 77 77 77 00 00 37 73'
'77 77 33 77 77 07 77 77 00 00 70 70 07 07 70 00'
'00 70 07 77 00 00 30 33 77 77 77 33 33 03 00 77'
'00 00 30 07 77 70 77 77 03 03 30 07 00 00 33 77'
'77 70 07 77 73 77 30 70 00 00 37 07 00 70 00 73'
'07 07 30 30 00 00 77 77 00 70 33 03 30 77 37 37'
'00 00 77 00 00 00 37 33 37 77 77 07 00 00 73 03'
'00 30 77 77 30 70 73 77 00 00 73 00 00 73 07 03'
'07 07 77 07 00 00 73 03 03 73 37 73 00 07 03 77'
'00 00 73 33 37 77 77 73 30 03 77 77 00 00 77 00'
'07 07 77 77 33 00 07 07 00 00 73 33 77 77 77 77'
'73 30 03 77 00 00 73 30 00 07 07 77 07 37 77 77'
'00 00 77 73 70 77 77 73 77 77 77 77 00 00 77 77'
'33 03 77 77 77 77 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00'
}
CM_TOGGLENEW BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'00 00 77 77 77 77 7B B7 77 77 77 77 00 00 77 77'
'77 77 7B B7 77 77 77 77 00 00 77 7B 77 77 7B B7'
'77 77 B7 77 00 00 77 77 B7 77 7B B7 77 7B 77 77'
'00 00 77 77 7B 77 77 77 77 B7 77 77 00 00 77 77'
'77 44 44 44 44 77 77 77 00 00 77 77 77 4E FE FE'
'F4 77 77 77 00 00 77 77 77 4F EF EF E4 77 77 77'
'00 00 77 77 77 4E FE FE F4 77 77 77 00 00 7B BB'
'B7 4F EF EF E4 7B BB B7 00 00 77 77 77 4E FE FE'
'F4 77 77 77 00 00 77 77 77 4F EF E4 44 77 77 77'
'00 00 77 77 77 4E FE F4 47 77 77 77 00 00 77 77'
'77 44 44 44 77 B7 77 77 00 00 77 77 7B 77 77 77'
'77 7B 77 77 00 00 77 77 B7 77 7B B7 77 77 B7 77'
'00 00 77 7B 77 77 7B B7 77 77 77 77 00 00 77 77'
'77 77 7B B7 77 77 77 77 00 00 77 77 77 77 7B B7'
'77 77 77 77 00 00'
}
CM_SHOWSTATE BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'00 00 77 77 77 77 77 77 77 77 77 77 00 00 70 00'
'00 00 00 00 00 00 00 07 00 00 70 77 77 77 77 77'
'77 77 77 07 00 00 70 77 77 77 77 77 77 77 77 07'
'00 00 70 77 77 00 00 00 00 77 77 07 00 00 70 77'
'77 07 77 77 70 77 77 07 00 00 70 77 77 07 77 77'
'70 77 77 07 00 00 70 77 77 00 00 00 00 77 77 07'
'00 00 70 77 77 77 77 77 77 77 77 07 00 00 70 70'
'00 00 00 00 00 00 07 07 00 00 70 77 77 77 77 77'
'77 77 77 07 00 00 70 70 00 00 00 00 00 00 07 07'
'00 00 70 77 77 77 77 77 77 77 77 07 00 00 70 88'
'8C CC CC CC CC CC CC 07 00 00 70 88 8C CC CC CC'
'CC CC CC 07 00 00 70 88 8C CC CC CC CC CC CC 07'
'00 00 70 00 00 00 00 00 00 00 00 07 00 00 77 77'
'77 77 77 77 77 77 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00'
}
#endif // RC_INVOKED
STRINGTABLE
{
CM_FILENEW, "Create a new file; Sets New to true and Dirty to false"
CM_FILEOPEN, "Open an existing file; Sets New and Dirty to false"
CM_FILESAVE, "Save current file; Sets New and Dirty to false"
CM_FILESAVEAS, "Save current file under new name; Sets New to false and Dirty to false"
CM_TOGGLEDIRTY, "Makes file dirty if clean, clean if dirty"
CM_TOGGLENEW, "Makes file new if existing, existing if new"
CM_SHOWSTATE, "Shows current state of New and Dirty flags"
}